package com.so206.mapper;

import com.so206.po.AlipayTradeRecord;
import org.apache.ibatis.annotations.Mapper;import org.apache.ibatis.annotations.Param;import java.util.List;

@Mapper
public interface AlipayTradeRecordMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AlipayTradeRecord record);

    int insertSelective(AlipayTradeRecord record);

    AlipayTradeRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AlipayTradeRecord record);

    int updateByPrimaryKey(AlipayTradeRecord record);

    List<AlipayTradeRecord> selectByStatusNameOutOrderId(@Param("status") Integer status, @Param("tr_name") String tr_name, @Param("tr_account") String tr_account, @Param("sid") String sid);
}